﻿using Newtonsoft.Json;
using System.Text;

namespace Gobang.ToolClass.Model
{
    public class MsgMergeModel : MsgModel
    {
        public UserInfoModel UserInfo { get; set; }
        public GameInfoModel GameInfo { get; set; }
        public bool IsSuccess { get; set; }
        public string Message { get; set; }
        public byte[] GetBytes()
        {
            string val = JsonConvert.SerializeObject(this);
            return Encoding.UTF8.GetBytes(val);
        }
    }
}
